package com.njym.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.njym.vo.ReconciliationsVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * Created with IDEA
 * author:张善兵
 * Date:2018/8/23
 * Time:下午2:08
 */

public interface ReconciliationsMapper extends BaseMapper<ReconciliationsVo> {

    List<ReconciliationsVo> getOrgResult(
            @Param("orgId") String  orgId,
        @Param("source") String  source,
         @Param("totalFee") java.math.BigDecimal totalFee,
       @Param("totalCount") Integer totalCount,
        @Param("start") Date start,
        @Param("end") Date end);

    ReconciliationsVo getAppResult(

        @Param("start") Date start,
        @Param("end") Date end,
        @Param("recType") String recType,
        @Param("orgId") String  orgId);
}
